#include <QtGui/QApplication>
//#include "mainwindow.h"

//#include "xmlconfig.h"
//#include "xmlusers.h"

#include <wl-users-mgmt/usersmgr.h>
#include "defaults.h"

int main(int argc, char *argv[])
{
    /*QApplication a(argc, argv);

    AppConfig config;
    Users users;

    ConfigHandler configHandler(config);
    configHandler.loadFromFile();

    UsersHandler usersHandler(users);
    usersHandler.loadFromFile();

    MainWindow win(config, users);
    win.show();

    return a.exec();*/

    QScopedPointer<UsersMgr> mgr(new DBUsersMgr(Defaults::Files::DB_USERS));
    mgr->reload();

    return 0;
}
